package com.guoju.tyframework.mvc.config;

import java.util.HashMap;
import java.util.Map;

public class ActionConfiguration {
	
	private String name;
	/** 类型-对应bean-id */
	private String type;
	/**其实type得到class自然能取到*/
	private String actionClass;
	private String path;
	private MvcBeans actionBean;
	private Map<String,String> results=new HashMap<String,String>();
	
	public ActionConfiguration() {
	}
	
	public ActionConfiguration(String name, String type, String path) {
		this.name = name;
		this.type = type;
		this.path = path;
	}

	public MvcBeans getActionBean() {
		return actionBean;
	}
	public void setActionBean(MvcBeans actionBean) {
		this.actionBean = actionBean;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
	public Map<String, String> getResults() {
		return results;
	}
	public void setResults(Map<String, String> results) {
		this.results = results;
	}

	public String getActionClass() {
		return actionClass;
	}

	public void setActionClass(String actionClass) {
		this.actionClass = actionClass;
	}
	
}
